import Layout from '@/layout'

export default {
  path: '/discount',
  name: 'discount',
  component: Layout,
  meta: {
    title: '优惠券管理',
    icon: 'tree'
  },
  children: [
    {
      path: '',
      name: 'discountAll',
      component: () => import('@/views/discount/discount-all'),
      meta: {
        title: '通用优惠券',
        icon: 'tree'
      }
    },
    {
      path: 'store',
      name: 'discountStore',
      component: () => import('@/views/discount/discount-store'),
      meta: {
        title: '店铺优惠券',
        icon: 'tree'
      }
    }
  ]
}
